﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using blackhouse.BlackApart.Data;
using System.Globalization;
using blackhouse.Currencies;

namespace blackhouse.BlackApart.Business.Company {
	public class CompanyLanguage {

		#region Properties

		public CultureInfo Language { get; private set; }
		public string Currency { get; private set; }

		#endregion

		public CompanyLanguage(LanguageData data) {
			this.Currency = data.CurrencyCode;
			this.Language = new CultureInfo(data.LanguageCode);
		}

	}
}
